projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13ce2d7
)
(EmacsFrameSetCharSize): Set coordinates values to the toplevel widget.
author
Fred Pierresteguy
<F.Pierresteguy@frcl.bull.fr>
Fri, 25 Feb 1994 17:45:51 +0000
(17:45 +0000)
committer
Fred Pierresteguy
<F.Pierresteguy@frcl.bull.fr>
Fri, 25 Feb 1994 17:45:51 +0000
(17:45 +0000)
src/widget.c
patch
|
blob
|
history
diff --git
a/src/widget.c
b/src/widget.c
index 73e530de1bf515aae5270e5e6d267f8caf715f58..a1282f397ddc4b6bb41cbdde0e23cdcb7207d7e6 100644
(file)
--- a/
src/widget.c
+++ b/
src/widget.c
@@
-900,4
+900,11
@@
EmacsFrameSetCharSize (widget, columns, rows)
for, then the event won't cause the screen to become garbaged, so
we have to make sure to do it here. */
SET_FRAME_GARBAGED (f);
+
+ /* Coordinates of the toplevel widget seem to have been lost.
+ So set it to the rignt values. */
+ XtVaSetValues (f->display.x->widget,
+ XtNx, f->display.x->left_pos,
+ XtNy, f->display.x->top_pos,
+ 0);
}